package org.j5108.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Types entity. @author MyEclipse Persistence Tools
 */

public class Types implements java.io.Serializable {

	// Fields

	private Integer typesid;
	private String typesname;
	private String remark;
	private Set newsinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Types() {
	}

	/** minimal constructor */
	public Types(String typesname, String remark) {
		this.typesname = typesname;
		this.remark = remark;
	}

	/** full constructor */
	public Types(String typesname, String remark, Set newsinfos) {
		this.typesname = typesname;
		this.remark = remark;
		this.newsinfos = newsinfos;
	}

	// Property accessors

	public Integer getTypesid() {
		return this.typesid;
	}

	public void setTypesid(Integer typesid) {
		this.typesid = typesid;
	}

	public String getTypesname() {
		return this.typesname;
	}

	public void setTypesname(String typesname) {
		this.typesname = typesname;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set getNewsinfos() {
		return this.newsinfos;
	}

	public void setNewsinfos(Set newsinfos) {
		this.newsinfos = newsinfos;
	}

}